package com.panda.web.service.rests;

import com.panda.web.controller.rests.ProAddrs;
import com.panda.web.entity.rests.Announcement;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.panda.web.utils.pageutils.PageResult;
import com.panda.web.domain.dto.rests.AnnouncementDTO;
import com.panda.web.domain.vo.rests.AnnouncementVO;


/**
 * 公告
Service接口
 * 
 * @author cpanda
 * @date 2025-09-08
 */
public interface IAnnouncementService extends IService<Announcement> {
    //分页查询
    PageResult<AnnouncementVO> PageList(AnnouncementDTO dto, Integer pageNum, Integer pageSize);
    //无分页查询
    List<AnnouncementVO> choiceList(AnnouncementDTO dto);
    //回显数据
    AnnouncementVO selectById(Long announcementId);

    //删除数据（逻辑删除）
    int removeByAnnouncementIds(List<Long> ids);

    List<ProAddrs> getAddre(ProAddrs addrs);
}
